package com.tanhua.dubbo.server.api;



import com.tanhua.dubbo.server.pojo.Voice;

import java.util.List;

/**
 * @Author fenda xu
 * @Date 2021 3/28/21 9:32 PM
 * @Version 1.0
 */
public interface VoiceApi {

    /**
     * 添加语音到数据库
     * @param voice
     * @return
     */
    Boolean saveVoice(Voice voice);

    /**
     * 从地址中查询语音
     * @return
     */
    List<Voice> getVoice();


    Voice getVoiceByVid(String vid);


    List<Voice> getVoiceByCreated();
}
